Whack dead code.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 3 Nov 2003 14:35:24 +0000 (14:35 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 3 Nov 2003 14:35:24 +0000 (14:35 +0000)
gpsbabel/psitrex.c

index e406c20f5e9bc518a2092a2657396a2300de364e..88939a105e1f3916a257b5af0bc8d603b0ebd019 100755 (executable)
@@ -206,22 +206,6 @@ psit_wr_deinit(void)
        fclose(psit_file_out);
 }
 
-/*
- * get characters until and including terminating NULL from psit_file_in 
- * and write into buf.
- */
-static void
-psit_readstr(FILE *psit_file, char *buf, size_t sz)
-{
-       int c;
-       while (sz-- && (c = fgetc (psit_file)) != EOF) {
-               *buf++ = c;
-               if (c == 0)  {
-                       return;
-               }
-       }
-}
-
 /*
  * get characters until and including terminating NULL from psit_file_in 
  * and write into buf.